resetCrop

abstract fun resetCrop(block: DesignBlock)

Resets the manually set crop of the given design block. The block's content fill mode is set to ContentFillMode.COVER. If the block has a fill, the crop values are updated so that it covers the block. Required scope: "layer/crop"

Parameters

block

the block whose crop should be reset.